---
title: formatRepository
---

When using the `format` command, enables formatting of the `repository` field of `package.json` into a shorthand format.

## Default value

```json title=".syncpackrc.json"
{
  "formatRepository": false
}
```

:::note

There is no equivalent CLI Option for this configuration.

:::
